package com.mouse.magent.server.constant;


import com.mouse.magent.common.protocol.Command;
import com.mouse.magent.common.service.BaseAction;
import com.mouse.magent.common.service.BaseCommandAction;
import com.mouse.magent.server.action.ProxyConnectAction;
import com.mouse.magent.server.action.RemoteDataAction;
import com.mouse.magent.server.action.RemoteDisconnectAction;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ServiceCommand implements BaseCommandAction {
    ca1(Command.PROXY_CONNECT, new ProxyConnectAction()),
    ca2(Command.REMOTE_DATA, new RemoteDataAction()),
    ca3(Command.REMOTE_DISCONNECT, new RemoteDisconnectAction()),
    ;

    private Command command;
    private BaseAction action;
}

